(C) 1996 AROS - The Amiga Replacement OS


TaggedOpenLibrary -- open a library by tag (V39)
NAME
APTR TaggedOpenLibrary()
SYNOPSIS
LONG tag

LOCATION
In SysBase at offset 135
FUNCTION
Opens a library given by tag. This is mainly meant as a shortcut so other system modules don't have to contain the complete library name string, to save ROM space. Additionaly, this call can be used to get a pointer to one of the system copyright notices and other strings.

All libraries will be opened with version number 0.

If the library cannot be opened the first try, this function calls FindResident and InitResident on the library, and tries again.

INPUTS
tag
Which library or text string to return.
RESULT
Pointer to library or pointer to text string.

NOTES
This is an *INTERNAL* function, and is only meant to provide backwards compatibility until all original Amiga system ROM modules that use it have been implemented as part of AROS. This function *WILL BE REMOVED* in the future. *DO NOT USE!* This can not be emhasized enough. This also applies to AROS system programmers.

EXAMPLE
BUGS
SEE ALSO
OpenLibrary(), FindResident(), InitResident()
INTERNALS
No checks are made on the validity of the tag.

HISTORY
29.03.1997 ldp
Added const to static text
15.03.1997 ldp
Changed exec.library version string (not used anywhere else yet)
03.03.1997 ldp
One small doc change, and return NULL instead of return 0
28.02.1997 ldp
Shortened "ALPHA RELEASE" to "ALPHA" to avoid overwriting the floppy animation in the bootscreen.
02.02.1997 ldp
Formatting.

Updated documentation.

WARNING: NO ONE is allowed to use this function! Not even for use in AROS' own system modules. The future "aros.library" will have a function to get version and copyright strings. This function is only for compatibility with existing portions of the original Amiga OS.

29.01.1997 ldp
Changed dates
22.01.1997 ldp
Changed ALPHA ROM to ALPHA OS
10.01.1997 ldp
Changed Copyright notice
01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto